package com.nq.stock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.nq.common.ServerResponse;
import com.nq.common.entity.NewsList;
import com.nq.stock.entity.StNews;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: st_news
 * @Author: jeecg-boot
 * @Date:   2024-06-05
 * @Version: V1.0
 */
public interface IStNewsService extends IService<StNews> {

    int addNews(NewsList news);

    ServerResponse getStNewsDetail(String newId, HttpServletRequest request);
}
